package com.excilys.ymca.model;

import org.codehaus.jackson.annotate.JsonProperty;

public class ZenContact implements Contact {

    private static final long serialVersionUID = 1L;

    private ZenContact() {}

    @JsonProperty("prenom")
    private String firstName;

    @JsonProperty("nom")
    private String lastName;

    @JsonProperty("telephone")
    private String phoneNumber;

    @JsonProperty("adresse")
    private String address;

    @JsonProperty("email")
    private String emailAddress;

    public String getName() {
        return firstName + " " + lastName;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public String getAddress() {
        return address;
    }

    public String getEmailAddress() {
        return emailAddress;
    }

}
